.settings {
  color: #ffffffe6;
  .output {
    display: flex;
    align-items: baseline;
    margin: 0 auto;
    max-width: 37rem;
    .label {
      margin-right: 15px;
      font-size: 1.2rem;
    }
    .input-group {
      flex: 1;
      display: flex;
      .value {
        flex: 1;
        padding: 0.65em 1em;
        background: #ccc;
        border-radius: 2px 0 0 2px;
        color: black;
        font-size: 1.2rem;
        font-family: Ubuntu Mono, monospace;
      }
      button {
        display: block;
        padding: 0.5rem 1rem;
        background: #ff0099;
        border: 0;
        border-radius: 0 2px 2px 0;
        color: #fffc;
        font-size: 1.2rem;
        font-weight: bold;
        appearance: none;
        outline: none;
        cursor: pointer;
        transition: background 0.3s;
        &:active {
          background: #3023ae;
        }
      }
    }
  }
  .size {
    display: flex;
    align-items: baseline;
    margin: 0 auto;
    margin-top: 20px;
    max-width: 37rem;
    .label {
      margin-right: 15px;
      font-size: 1.2rem;
    }
    .wrapper {
      flex: 1;
      display: flex;
      align-items: baseline;
      justify-content: flex-end;
      .input-group {
        margin-right: 20px;
        label {
          margin-right: 5px;
          font-size: 1.2rem;
          line-height: 1;
        }
        input {
          padding: 0.5em 0.65em;
          width: 5rem;
          border: 0;
          border-radius: 2px;
          font-size: 1.2rem;
          font-family: Ubuntu Mono, monospace;
        }
      }
      button {
        display: block;
        padding: 0.5rem 1rem;
        background: #ff0099;
        border: 0;
        border-radius: 2px;
        color: #fffc;
        font-size: 1.2rem;
        font-weight: bold;
        appearance: none;
        outline: none;
        cursor: pointer;
        transition: background 0.3s;
        &:active {
          background: #3023ae;
        }
      }
    }
  }

  @media screen and (max-width: 767px) {
    .output{
      flex-direction: column;
      padding: 1rem;
      .input-group{
        flex-direction: column;
        width: 100%;
        .value,
        button {
          margin-top: .5rem;
          border-radius: 2px;
        }
        .value{
          font-size: 1.11rem;
        }
      }
    }
    .size{
      flex-direction: column;
      margin-top: 0;
      padding: 1rem;
      .wrapper{
        display: grid;
        grid-template: 1fr 1fr / 1fr 1fr;
        margin-top: .5rem;
        width: 100%;
        .input-group{
          margin: 0;
          input{
            font-size: 1.125rem;
          }
        }
        button{
          grid-column: span 2;
          margin-top: .3rem;
        }
      }
    }
  }
}
